//request 是一个axios对象（经过设置信息的）
import request from '@/utils/request'

export function getAdmin(data) {
    return request({
        url: '/api/admin/adminCounter/getAdminFromId',
        //post请求
        method: 'post',
        data
    })
}

export function updateAdmin(data) {
    return request({
        url: '/api/admin/adminCounter/updateAdmin',
        //post请求
        method: 'post',
        data
    })
}
